package duyd.transaction.training.service;

import java.util.Date;
import java.util.List;

import duyd.transaction.training.domain.Contact;

public interface ContactService {

    public List<Contact> findAll();

    public Contact findOne(Long id);

    public Contact save(Contact contact);

    public long countAll();

    public List<Contact> findByFirstNameAndLastName(String firstName, String lastName);

    public List<Contact> findByBirthDate(Date birthDate);

}
